package com.ynet.middleground.contract.bean;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 新增模板表格参数信息类
 * @date 2020-04-03 15:18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "新增模板表格参数信息类", description = "新增模板表格参数信息")
public class TemplateTableParamReq implements Serializable {

    private static final long serialVersionUID = 9073653284777637685L;

    /**
     * 参数名
     */
    @ApiModelProperty(value = "表格单元格 key", notes = "表格单元格 key", dataType = "String", required = true)
    @NotBlank(message = "表格单元格 key 不能为空")
    private String name;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", notes = "描述", dataType = "String")
    private String description;

}
